import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/reset.css'
import * as filters from '@/filters/index'
import { List,Sticky,Collapse, CollapseItem,IndexBar, IndexAnchor,cell,icon,ActionSheet,DropdownMenu,DropdownItem} from 'vant'

Vue.use(List).use(Sticky).use(Collapse).use(CollapseItem).use(IndexBar).use(IndexAnchor).use(cell).use(icon).use(ActionSheet).use(DropdownMenu).use(DropdownItem)

for(var key in filters){
  Vue.filter(key,filters[key])
}

Vue.config.productionTip = false



new Vue({
  store:store,
  router:router,
  render: h => h(App)
}).$mount('#app')
